From: António Fernandes Date: Sun, 2 Jan 2022 17:49:48 +0000 (+0000) Subject: gtk: Define the GtkExpression autocleanup func X-Git-Tag: archive/raspbian/4.6.5+ds-1+rpi1~1^2~61^2^2~130^2 X-Git-Url: https://dgit.raspbian.org/%22http://www.example.com/cgi/%22/%22http:/www.example.com/cgi/%22?a=commitdiff_plain;h=c9fa16fcfa59e72372b2155cc1eac310cfd13a64;p=gtk4.git gtk: Define the GtkExpression autocleanup func --- diff --git a/gtk/gtkexpression.h b/gtk/gtkexpression.h index 4cea8fb57a..91a9b88396 100644 --- a/gtk/gtkexpression.h +++ b/gtk/gtkexpression.h @@ -50,6 +50,7 @@ GDK_AVAILABLE_IN_ALL GtkExpression * gtk_expression_ref (GtkExpression *self); GDK_AVAILABLE_IN_ALL void gtk_expression_unref (GtkExpression *self); +G_DEFINE_AUTOPTR_CLEANUP_FUNC(GtkExpression, gtk_expression_unref) GDK_AVAILABLE_IN_ALL GType gtk_expression_get_value_type (GtkExpression *self);